package com.timanetworks.mailbox;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Created by wusk on 2017/12/12.
 * 启动类
 */
@SpringBootApplication
public class Application {
    private static final Logger logger = LoggerFactory.getLogger(Application.class);


    /**
     * 程序入口
     */
    public static void main(String[] args) {
        try {
            SpringApplication.run(Application.class, args);
            logger.info("AccountApp start ok !!!");
        } catch (Exception e) {
            logger.error("", e);
        }
    }

}
